
package com.j256.ormlite.stmt.query;

import java.sql.SQLException;
import java.util.List;

import com.j256.ormlite.db.DatabaseType;
import com.j256.ormlite.stmt.ArgumentHolder;

/**
 * Internal marker class for query clauses.
 * 
 * @author graywatson
 */
public interface Clause {

    /**
     * Add to the string-builder the appropriate SQL for this clause.
     */
    public void appendSql(DatabaseType databaseType, StringBuilder sb, List<ArgumentHolder> argList)
            throws SQLException;
}
